package com.java.comprehensive.design.building_modelling.prototype_pattern;

public class Realizetype implements Cloneable {


    public Realizetype() {
        System.out.println("执行无参构造");
    }

    @Override
    public Realizetype clone() {
        try {
            return (Realizetype) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }
}
